package org.dromara;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
import org.springframework.context.annotation.ComponentScan;


/**
 * 启动程序
 *
 * @author fly
 */
@ComponentScan(basePackages = {
    "org.dromara"
})
@SpringBootApplication(excludeName = "org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration")
public class AdminApplication {

    public static void main(String[] args) {

        SpringApplication application = new SpringApplication(AdminApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        System.out.println("服务启动成功");
    }

}
